package day1.HomeWork;

/**
 * ClassName：Return1
 *
 * @Author：小鱼
 * @Create：2025-08-18 18:46
 */
public class Return1 {
    public static void main(String[] args) {
        int i = new Return1().testReturn1();
        System.out.println(i);
    }
    private int testReturn1() {
        int i = 1;
        try {
            i++;
            System.out.println("try:" + i);
            return i;
        } finally {
            i++;
            System.out.println("finally:" + i);
        }
    }
}
